//
//  RecommendTalentSecData.m
//  AutoLayoutAnimation
//
//  Created by LL.F on 16/09/19
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "RecommendTalentSecData.h"
#import "RecommendTalentPost.h"

@implementation RecommendTalentSecData

+ (NSDictionary *)objectClassInArray{
    return @{@"post" : [RecommendTalentPost class]};
}
- (void)setValue:(id)value forKey:(NSString *)key
{
    
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"post"]) {
        NSMutableArray<RecommendTalentPost *>  *infoArray = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            RecommendTalentPost *infoData = [RecommendTalentPost modelWithDic:dic];
            [infoArray addObject:infoData];
        }
        _post = infoArray;
    }
}
@end
